<?php /* Smarty version 2.6.16, created on 2009-04-19 22:18:54
         compiled from AccountSettings.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'url', 'AccountSettings.html', 2, false),array('function', 'language', 'AccountSettings.html', 2, false),array('function', 'messages', 'AccountSettings.html', 11, false),array('function', 'html_options', 'AccountSettings.html', 37, false),array('function', 'html_select_date', 'AccountSettings.html', 85, false),)), $this); ?>
<?php if ($this->_tpl_vars['bCanCancel']): ?>
<div style="padding:4px;"><a class="link_action" href="<?php echo smarty_function_url(array('link' => 'public.account.settings.cancel-account'), $this);?>
">[ <?php echo smarty_function_language(array('text' => 'cancel_account_92'), $this);?>
 ]</a></div>
<br />
<?php endif;  if ($this->_tpl_vars['bDone']): ?>
<div style="font-size:9pt; padding:6px; font-weight:bold;" class="border13">
	<?php echo smarty_function_language(array('text' => 'Mod_Account.account.updated'), $this);?>

</div>
<br />
<?php endif;  echo smarty_function_messages(array(), $this);?>

<?php echo $this->_tpl_vars['jsValMess']; ?>

<form method="post" action="<?php echo $this->_tpl_vars['sUrl']; ?>
" onsubmit="<?php echo $this->_tpl_vars['jsValidation']; ?>
">
<table style="width:100%;">
    <tr>
        <td style="width:30%;text-align:right;font-size:10pt;" class="color"><span class="star">*</span> <?php echo smarty_function_language(array('text' => 'e_mail'), $this);?>
:</td>
        <td style="width:70%;font-size:8pt;" class="color">
        <div class="border13">
            <div style="padding:5px;"><input type="text" name="aUser[email]" value="<?php echo $this->_tpl_vars['aUser']['email']; ?>
" size="45" /></div>
        </div>
        </td>
    </tr>
    <tr>
        <td style="width:30%;text-align:right;font-size:10pt;" class="color"><?php echo smarty_function_language(array('text' => 'password'), $this);?>
:</td>
        <td style="width:70%;font-size:8pt;" class="color">
        <div class="border13">
            <div style="padding:5px;"><a class="link_action" href="<?php echo smarty_function_url(array('link' => 'public.account.settings.change-pass'), $this);?>
">[ <?php echo smarty_function_language(array('text' => 'change_password'), $this);?>
 ]</a></div>
        </div>
        </td>
    </tr>
    <tr>
        <td style="width:30%;text-align:right;font-size:10pt;" class="color"><?php echo smarty_function_language(array('text' => 'gender'), $this);?>
:</td>
        <td style="width:70%;font-size:8pt;" class="color">
        <div class="border13">
        <div style="padding:5px;">
        	<select name="aUser[gender]" style="width:100px;">
            <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['aGenders'],'selected' => $this->_tpl_vars['aUser']['gender']), $this);?>

            </select>
		</div>
        </div>
        </td>
    </tr>
    <tr>
        <td style="width:30%;text-align:right;font-size:10pt;" class="color"><?php echo smarty_function_language(array('text' => 'location'), $this);?>
:</td>
        <td style="width:70%;font-size:8pt;" class="color">
        <div class="border13">
        <div style="padding:5px;"><select name="aUser[location]"<?php if ($this->_tpl_vars['bZipState']): ?> onchange="checkUsMode();" <?php endif; ?>style="width:150px;" id="fldCountrySel">
            <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['aCountries'],'selected' => $this->_tpl_vars['aUser']['location']), $this);?>

        </select></div>
        </div>
        </td>
    </tr>

    <?php if ($this->_tpl_vars['bZipState']): ?>
    <tr>
        <td style="width:30%;text-align:right;font-size:10pt;" class="color"><?php echo smarty_function_language(array('text' => 'state'), $this);?>
:</td>
        <td style="width:70%;font-size:8pt;" class="color"><div class="border13" style="padding:5px;">
            <select name="aUser[state]" id="fldStateSel">
            <option value=""><?php echo smarty_function_language(array('text' => 'option.select'), $this);?>
</option>
            <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['aStates'],'selected' => $this->_tpl_vars['aUser']['state']), $this);?>

            </select>
        </div></td>
    </tr>
    <tr>
        <td style="width:30%;text-align:right;font-size:10pt;" class="color"><?php echo smarty_function_language(array('text' => 'zip'), $this);?>
:</td>
        <td style="width:70%;font-size:8pt;" class="color"><div class="border13" style="padding:5px;"><input type="text" name="aUser[zip]" value="<?php echo $this->_tpl_vars['aUser']['zip']; ?>
" size="40" maxlength="30" onfocus="this.className='inputmain';" onblur="this.className='';" id="fldZip" /></div></td>
    </tr>
    <?php endif; ?>


    <tr>
        <td style="width:30%;text-align:right;font-size:10pt;" class="color"><?php echo smarty_function_language(array('text' => 'city'), $this);?>
:</td>
        <td style="width:70%;font-size:8pt;" class="color">
        <div class="border13">
        <div style="padding:5px;"><input type="text" name="aUser[city]" value="<?php echo $this->_tpl_vars['aUser']['city']; ?>
" size="45" /></div>
        </div>
        </td>
    </tr>

    <tr>
        <td style="width:30%;text-align:right;font-size:10pt;" class="color"><?php echo smarty_function_language(array('text' => 'date_of_birth'), $this);?>
:</td>
        <td style="width:70%;font-size:8pt;" class="color">
        <div class="border13">
        <div style="padding:5px;">
            <?php echo smarty_function_html_select_date(array('prefix' => 'aBirthDate_','field_order' => 'DMY','month_format' => '%m','start_year' => $this->_tpl_vars['iStartYear'],'end_year' => $this->_tpl_vars['iEndYear'],'all_extra' => 'style="width:90px;"','field_separator' => ' / ','time' => $this->_tpl_vars['dtBirthdate'],'reverse_years' => true), $this);?>

        </div>
        </div>
        </td>
    </tr>

    <?php if ($this->_tpl_vars['bAllowLangPack']): ?>
    <tr>
        <td style="width:30%;text-align:right;font-size:10pt;" class="color"> <?php echo smarty_function_language(array('text' => 'core_language'), $this);?>
: </td>
        <td style="width:70%;font-size:8pt;" class="color">
        <div class="border13">
            <div style="padding:5px;">
            <select name="aUser[lang_file]">
            <?php unset($this->_sections['I']);
$this->_sections['I']['loop'] = is_array($_loop=$this->_tpl_vars['aLanguages']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['I']['name'] = 'I';
$this->_sections['I']['show'] = true;
$this->_sections['I']['max'] = $this->_sections['I']['loop'];
$this->_sections['I']['step'] = 1;
$this->_sections['I']['start'] = $this->_sections['I']['step'] > 0 ? 0 : $this->_sections['I']['loop']-1;
if ($this->_sections['I']['show']) {
    $this->_sections['I']['total'] = $this->_sections['I']['loop'];
    if ($this->_sections['I']['total'] == 0)
        $this->_sections['I']['show'] = false;
} else
    $this->_sections['I']['total'] = 0;
if ($this->_sections['I']['show']):

            for ($this->_sections['I']['index'] = $this->_sections['I']['start'], $this->_sections['I']['iteration'] = 1;
                 $this->_sections['I']['iteration'] <= $this->_sections['I']['total'];
                 $this->_sections['I']['index'] += $this->_sections['I']['step'], $this->_sections['I']['iteration']++):
$this->_sections['I']['rownum'] = $this->_sections['I']['iteration'];
$this->_sections['I']['index_prev'] = $this->_sections['I']['index'] - $this->_sections['I']['step'];
$this->_sections['I']['index_next'] = $this->_sections['I']['index'] + $this->_sections['I']['step'];
$this->_sections['I']['first']      = ($this->_sections['I']['iteration'] == 1);
$this->_sections['I']['last']       = ($this->_sections['I']['iteration'] == $this->_sections['I']['total']);
?>
            <?php if ($this->_tpl_vars['aLanguages'][$this->_sections['I']['index']]['userselect']): ?>
			<option value="<?php echo $this->_tpl_vars['aLanguages'][$this->_sections['I']['index']]['id']; ?>
"<?php if ($this->_tpl_vars['aUser']['lang_file'] == $this->_tpl_vars['aLanguages'][$this->_sections['I']['index']]['id']): ?> selected="selected"<?php endif; ?>><?php echo $this->_tpl_vars['aLanguages'][$this->_sections['I']['index']]['title']; ?>
</option>
			<?php endif; ?>
            <?php endfor; endif; ?>
            </select>
            </div>
        </div>
        </td>
    </tr>
	<?php endif; ?>

    <tr>
        <td style="width:30%;text-align:right;font-size:10pt;vertical-align:top;" class="color"><?php echo smarty_function_language(array('text' => 'e_mail_notifications'), $this);?>
:</td>
        <td style="width:70%;font-size:8pt;" class="color">

        <div class="border13">
        <div style="padding:5px;">

            <div style="padding-bottom:4px;"><img src="design/pic/spacer.gif" class="sqr" style="vertical-align:middle;" alt="" width="7" height="7" />
                <input type="hidden" name="aUser[not_1]" value="0">
                <input type="checkbox" name="aUser[not_1]" id="not_1" value="2" style="vertical-align:middle;border:0px;"<?php if ($this->_tpl_vars['aUser']['not_1']): ?> checked<?php endif; ?> /> <span style="vertical-align:middle;"><label for="not_1"><?php echo smarty_function_language(array('text' => 'comments_posted'), $this);?>
</label></span>
            </div>

            <div style="padding-bottom:4px;"><img src="design/pic/spacer.gif" class="sqr" style="vertical-align:middle;" alt="" width="7" height="7" />
                <input type="hidden" name="aUser[not_2]" value="0">
                <input type="checkbox" name="aUser[not_2]" id="not_2" value="2" style="vertical-align:middle;border:0px;"<?php if ($this->_tpl_vars['aUser']['not_2']): ?> checked<?php endif; ?> /> <span style="vertical-align:middle;"><label for="not_2"><?php echo smarty_function_language(array('text' => 'new_mail_messages'), $this);?>
</label></span>
            </div>

    		<?php if ($this->_tpl_vars['bCrush']): ?>
            <div style="padding-bottom:4px;"><img src="design/pic/spacer.gif" class="sqr" style="vertical-align:middle;" alt="" width="7" height="7" />
                <input type="hidden" name="aUser[not_3]" value="0">
                <input type="checkbox" name="aUser[not_3]" id="not_3" value="2" style="vertical-align:middle;border:0px;"<?php if ($this->_tpl_vars['aUser']['not_3']): ?> checked<?php endif; ?> /> <span style="vertical-align:middle;"><label for="not_3"><?php echo smarty_function_language(array('text' => 'new_crush_alerts'), $this);?>
</label></span>
            </div>
            <?php endif; ?>

            <?php if (! $this->_tpl_vars['bExternForum']): ?>
            <div style="padding-bottom:4px;"><img src="design/pic/spacer.gif" class="sqr" style="vertical-align:middle;" alt="" width="7" height="7" />
                <input type="hidden" name="aUser[not_4]" value="0">
                <input type="checkbox" name="aUser[not_4]" id="not_4" value="2" style="vertical-align:middle;border:0px;"<?php if ($this->_tpl_vars['aUser']['not_4']): ?> checked<?php endif; ?> /> <span style="vertical-align:middle;"><label for="not_4"><?php echo smarty_function_language(array('text' => 'new_forum_replies'), $this);?>
</label></span>
            </div>
            <?php endif; ?>

            <div style="padding-bottom:4px;"><img src="design/pic/spacer.gif" class="sqr" style="vertical-align:middle;" alt="" width="7" height="7" />
                <input type="hidden" name="aUser[not_5]" value="0">
                <input type="checkbox" name="aUser[not_5]" id="not_5" value="2" style="vertical-align:middle;border:0px;"<?php if ($this->_tpl_vars['aUser']['not_5']): ?> checked<?php endif; ?> /> <span style="vertical-align:middle;"><label for="not_5"><?php echo smarty_function_language(array('text' => 'new_friends_requests'), $this);?>
</label></span>
            </div>

        </div>
        </div>

        </td>
    </tr>

    <tr>
        <td style="width:30%;text-align:right;font-size:10pt;vertical-align:top;" class="color"><?php echo smarty_function_language(array('text' => 'privacy_settings'), $this);?>
:</td>
        <td style="width:70%;font-size:8pt;" class="color">

        <div class="border13">
        <div style="padding:5px;">

            <div style="padding-bottom:4px;"><img src="design/pic/spacer.gif" class="sqr" style="vertical-align:middle;" alt="" width="7" height="7" />
                <input type="hidden" name="aUser[friends_only]" value="0">
                <input type="checkbox" name="aUser[friends_only]" id="2not_1" value="1" style="vertical-align:middle;border:0px;"<?php if ($this->_tpl_vars['aUser']['friends_only']): ?> checked<?php endif; ?> /> <span style="vertical-align:middle;"><label for="2not_1"><?php echo smarty_function_language(array('text' => 'only_friends_can_view_my_'), $this);?>
</label></span>
            </div>

            <div style="padding-bottom:4px;"><img src="design/pic/spacer.gif" class="sqr" style="vertical-align:middle;" alt="" width="7" height="7" />
                <input type="hidden" name="aUser[friends_comment]" value="0">
                <input type="checkbox" name="aUser[friends_comment]" id="2not_2" value="1" style="vertical-align:middle;border:0px;"<?php if ($this->_tpl_vars['aUser']['friends_comment']): ?> checked<?php endif; ?> /> <span style="vertical-align:middle;"><label for="2not_2"><?php echo smarty_function_language(array('text' => 'only_friends_can_post_com'), $this);?>
</label></span>
            </div>
 			<div style="padding-bottom:4px;"><img src="design/pic/spacer.gif" class="sqr" style="vertical-align:middle;" alt="" width="7" height="7" />
                <input type="hidden" name="aUser[setting_gb_html]" value="0">
                <input type="checkbox" name="aUser[setting_gb_html]" id="3not_1" value="1" style="vertical-align:middle;border:0px;"<?php if ($this->_tpl_vars['aUser']['setting_gb_html']): ?> checked<?php endif; ?> /> <span style="vertical-align:middle;">
                <label for="3not_1"><?php echo smarty_function_language(array('text' => 'don_t_allow_html_on_my_gu'), $this);?>
</label></span>
            </div>

        </div>
        </div>


        </td>
    </tr>

    <tr>
        <td colspan="2" style="padding-left: 20px"><span class="star">*</span> - <?php echo smarty_function_language(array('text' => 'mandatory_fields'), $this);?>
</td>
    </tr>
    <tr>
        <td style="width:30%;text-align:right;font-size:10pt;" class="color"><br />
        </td>
        <td style="width:70%;font-size:8pt;" class="color"><br />
        <input type="submit" name="act[update]" value=" <?php echo smarty_function_language(array('text' => 'save_account_settings'), $this);?>
 " style="cursor:pointer;" class="mainmenu6" onmouseover="this.className='mainmenu7';" onmouseout="this.className='mainmenu6';" /></td>
    </tr>
</table>
</form>
<?php if ($this->_tpl_vars['bZipState']): ?><script type="text/javascript">checkUsMode();</script><?php endif; ?>